#include<iostream>
#include<map>
#include<set>

using namespace std;

void test_set1()
{
  int arr[] = {3,2,5,1,4,0,9,8,6,7};
  set<int> s;
  s.insert(arr,arr+sizeof(arr)/sizeof(arr[0])-1);
  
  for(auto& e : s)
  {
    cout << e << " ";
  }
  cout << endl;
}

void test_map1()
{
  map<string,string> m;

  m.insert(make_pair("apple","苹果"));
  m["simple"] = "简单";
  m.insert({"carrot","胡萝卜"});
  
  cout << m["apple"] <<endl;
  cout << m["simple"] <<endl;
  cout << m["carrot"] <<endl;

}



int main()
{
  //test_set1();
  test_map1();
  return 0;
}
